package com.xie.service;

import com.xie.mapper.SysMessageMapper;
import com.xie.pojo.SysMessage;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MessageService {

    @Autowired
    public SysMessageMapper sysMessageMapper;

    public List<SysMessage> pullMessageByUserId(Integer uid) {
        return sysMessageMapper.listMessageByUserId(uid);
    }
}
